package com.sweet;

import com.rule.SweetRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@EnableEurekaClient
@RibbonClient(name="SWEET-PROVIDER-PAYMENT", configuration= SweetRule.class)
public class OrderApp9000 {
    public static void main(String[] args) {
        SpringApplication.run(OrderApp9000.class,args);
    }
}
